package com.dule.Medic.service;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.dule.Medic.model.MedEntry;
import com.dule.Medic.model.Prescription;

public interface PrescriptionService 
{
	@CommitAfter      
	Long save(Prescription prescription);    
	@CommitAfter      
	boolean update(Prescription prescription);   
	@CommitAfter
	public boolean delete(Prescription prescription); 	
	
	List<Prescription> retrieve(MedEntry medEntry);    
	Prescription retrieveOne(Long Id);
}
